import http from '@/utils/request'

export function addTower(data) {
  return http.request({
    url: '/community/tower/add',
    method: 'post',
    data
  })
}
export function updateTower(data) {
  return http.request({
    url: '/community/tower/update',
    method: 'post',
    data
  })
}
export function deleteTower(id) {
  return http.request({
    url: '/community/tower/delete',
    method: 'post',
    data:{
      id
    }
  })
}